package com.hanson.service;

import com.aliyun.oss.OSSClient;

import java.io.InputStream;

/**
 * @description: 阿里云oss对象存储服务
 * @interface: AliYunOOSService
 * @author: Hanson
 * @create: 2021/01/13
 **/
public interface AliYunOSService {

    //商城图片上传
    /**
    *
    *
    *
    * @params: [fileName, filePath, inputStream, ossClient, bucketName, fileHost]
    * @param fileName 文件名称
    * @param filePath 文件路径
    * @param inputStream 文件输入流
    * @param bucketName buckerName
    * @param ossClient oss存储对象
    * @param fileHost  oss存储服务器地址
    * @return: {@link String}
    * @since: 2021/1/13
    **/
    public String uploadMallImage(String fileName, String filePath, InputStream inputStream, OSSClient ossClient, String bucketName, String fileHost,boolean useMyDNS);

}
